package com.aigao.golf.common.log

import org.slf4j.Logger
import org.slf4j.LoggerFactory

abstract class AbsLogger {

    private var log: Logger? = LoggerFactory.getLogger(AbsLogger::class.java)

    init {
        if (buildLogger() != null) {
            log = buildLogger()
        }
    }

    protected abstract fun buildLogger(): Logger?

}
